package boot.mq.rabbitmq.consumer.process;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;

import java.util.Map;

/**
 * @Author : JCccc
 * @CreateTime : 2019/9/3
 * @Description :
 **/

//@Component
@RabbitListener(queues = "topic_woman")
public class TopicWomanReceiver {

    @RabbitHandler
    public void process(Map testMessage) {
        System.out.println("收到 topic_woman 消息  : " + testMessage.toString());
    }
}
